package com.atguigu.lease.web.app.utils;

/**
 * @BelongsProject: lease
 * @BelongsPackage: com.atguigu.lease.web.app.utils
 * @Author: jiangyi
 * @CreateTime: 2025-08-23  14:06
 * @Description: TODO
 * @Version: 1.0
 */
public class VerifyCodeUtil {
    public static String getVerifyCode(int codeLength) {
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < codeLength ; i++) {
            int number = (int) (Math.random() * 10);
            sb.append(number);
        }
        return sb.toString();
    }
}
